home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q103 / 8 / 10.TXT next >
Text File  |  1994-01-07  |  3KB  |  74 lines

  1. DOCUMENT:Q103810  06-JAN-1994  [W_NT]
  2. TITLE   :Realtime Priority Applications And Windows NT
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. --------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. --------------------------------------------------------------------
  14.  
  15. SUMMARY
  16. =======
  17.  
  18. An application that is running in the RealTime priority class (a base
  19. priority of 16) can potentially take so much of the available CPU
  20. resources that no resources will be available for other processes or
  21. threads. This includes a possible "starving" of both the mouse and
  22. keyboard. This implies that the mouse may become unavailable to click
  23. another application to execute an action. It also implies that the
  24. keyboard may not respond if you try to press CTRL+ESC to get the Task
  25. List and Cancel the application.
  26.  
  27. To run a process or thread in the RealTime priority class requires
  28. that you either be an administrator, a member of the administrator's
  29. group, or have the Increase Scheduling Priority user right
  30. (SeIncreaseBasePriorityPrivilege) explicitly granted to you.
  31. Administrators must use caution when granting this right to users.
  32.  
  33. MORE INFORMATION
  34. ================
  35.  
  36. Only Windows 32-bit applications can be scheduled for RealTime and
  37. High priorities. Windows 16-bit, MS-DOS, OS/2, and POSIX applications
  38. may only run at a priority of Normal (maximum base priority of 7).
  39. Also, if a process has a Low priority, all processes spawned from it
  40. (children) will inherit the Low priority, but if the process has a
  41. High priority, all children will be assigned a Normal priority.
  42.  
  43.    Default Priority Bases
  44.    ----------------------
  45.  
  46.    Low:        4
  47.    Normal:     7
  48.    High:      13
  49.    RealTime:  24
  50.  
  51. Note that many items can influence this base priority, including user
  52. groups (administrators versus users), how tasking is set up in the
  53. Control Panel System option, and whether the application is in the
  54. foreground or background.
  55.  
  56. Additional reference words: 3.10 lockup CPU-bound real time
  57. KBCategory:
  58. KBSubCategory: pertune
  59.  
  60. =============================================================================
  61.  
  62. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  63. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  64. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  65. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  66. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  67. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  68. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  69. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  70. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  71. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  72. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  73.  
  74. Copyright Microsoft Corporation 1994.